#!/bin/bash

echo "tracker 会占用系统资源较大，实际上不需要那么nb的搜索功能，将其禁用"

systemctl --user mask \
  tracker-store.service \
  tracker-miner-fs.service \
  tracker-miner-rss.service \
  tracker-extract.service \
  tracker-miner-apps.service \
  tracker-writeback.service
tracker reset --hard

echo "tracker已经被禁用"
echo 
echo "要停用搜索功能请手动修改设置"
echo "设置 -> 搜索 : 关闭搜索 禁用搜索功能"